home *** CD-ROM | disk | FTP | other *** search
- import java.awt.Event;
- import java.io.DataInputStream;
-
- public class bob12 extends bob {
- public String value;
-
- public bob12(String var1) {
- this.value = var1;
- }
-
- public bob12() {
- }
-
- // $FF: renamed from: rd (java.io.DataInputStream) void
- public void method_0(DataInputStream var1) {
- try {
- this.value = var1.readUTF();
- } catch (Exception var3) {
- }
-
- }
-
- // $FF: renamed from: he (java.awt.Event) void
- public void method_1(Event var1) {
- switch (var1.id) {
- case 1:
- this.value = ((bob12)var1.arg).value;
- ((bob)this).ce(this, 2);
- break;
- case 2:
- ((bob)this).ce(this, 1);
- break;
- case 3:
- this.value = String.valueOf("").concat(String.valueOf(((bob10)var1.arg).value));
- if (this.value.endsWith(".0")) {
- this.value = this.value.substring(0, this.value.length() - 2);
- }
-
- ((bob)this).ce(this, 2);
- break;
- case 4:
- String var2 = ((bob12)var1.arg).value;
- if (var2.equals("\b")) {
- this.value = this.value.substring(0, Math.max(0, this.value.length() - 1));
- } else {
- this.value = String.valueOf(this.value).concat(String.valueOf(var2));
- }
- }
-
- }
- }
-